package com.zyx.tr1;

public class Thread02 extends Thread{
    public Thread02() {
    }
    public Thread02(String name){
        super(name);
    }
    @Override
    public void run() {
        for(int i=0;i<10;i++)
            try {
                Thread.sleep(20);
                System.out.println("白龙吧" + i);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
